import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SCrossGuildWarScore
    
    export  class SCrossGuildWarScore extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SCrossGuildWarScore();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.killPlayerNum);
            arg1.writeInt(this.totalKillPlayerNum);
            arg1.writeInt(this.leftReviveTimes);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.killPlayerNum = arg1.readInt();
            this.totalKillPlayerNum = arg1.readInt();
            this.leftReviveTimes = arg1.readInt();
            return;
        }

        public /* const */_type: int=916;

        public /* var */killPlayerNum: int;

        public /* var */totalKillPlayerNum: int;

        public /* var */leftReviveTimes: int;

        public static /* var */_regist: SCrossGuildWarScore;
    }

            SCrossGuildWarScore._regist = new SCrossGuildWarScore(true);
        